import 'package:flutter/material.dart';

class AddressList extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('AddressList'),
      ),
      body: Card(
        child: ListView(
          children: <Widget>[
            GestureDetector(
              onTap: (){
                Navigator.of(context).pop('司宇昭 北京市昌平区 回龙观东大街');
              },
              child: Container(
                margin: EdgeInsets.all(4),
                decoration:
                    BoxDecoration(border: Border.all(color: Colors.black12)),
                child: ListTile(
                  leading: Icon(
                    Icons.account_box,
                    color: Colors.blue,
                  ),
                  title: Text('司宇昭 北京市昌平区 回龙观东大街'),
                ),
              ),
            ),
            GestureDetector(
              onTap: (){
                Navigator.of(context).pop('张仁阳 北京市昌平区 回龙观东大街');
              },
              child: Container(
                margin: EdgeInsets.all(4),
                decoration:
                    BoxDecoration(border: Border.all(color: Colors.black12)),
                child: ListTile(
                  leading: Icon(
                    Icons.account_box,
                    color: Colors.blue,
                  ),
                  title: Text('张仁阳 北京市昌平区 回龙观东大街'),
                ),
              ),
            ),
            GestureDetector(
              onTap: (){
                Navigator.of(context).pop('姜文 北京市昌平区 回龙观东大街');
              },
              child: Container(
                margin: EdgeInsets.all(4),
                decoration:
                    BoxDecoration(border: Border.all(color: Colors.black12)),
                child: ListTile(
                  leading: Icon(
                    Icons.account_box,
                    color: Colors.blue,
                  ),
                  title: Text('姜文 北京市昌平区 回龙观东大街'),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}
